package com.nd.qa.shareplate.service;

import java.util.HashMap;
import java.util.List;

import com.nd.qa.shareplate.model.ShareDocument;


public interface ManageDocService {

	/**
	 * 查询所有的文档
	 * @return
	 */
	public List<ShareDocument> queryTotalDocument(ShareDocument doc);
	/**
	 * 查询
	 * @param paramMap
	 * @return
	 */
	public List<ShareDocument> queryDocById(HashMap<String, Object> paramMap);
	
	/**
	 * 上传文件
	 * @param doc
	 */
	public void insertDocument(ShareDocument doc) throws Exception;
	/**
	 * 删除文件
	 * @param doc
	 * @throws Exception
	 */
	public void deleteDocById(ShareDocument doc) throws Exception;
}
